<!DOCTYPE html>
<html lang="">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport"
    content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <title>
    <%= htmlWebpackPlugin.options.title %>
  </title>
  <% if (htmlWebpackPlugin.options.isProd) { %>
  <!-- heightlight.js 的样式 -->
  <link rel="stylesheet" href="https://cdn.staticfile.org/highlight.js/10.6.0/styles/default.min.css" />
  <!-- vant 的图标样式 -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.12.7/lib/icon/local.css" />
  <% } %>
</head>

<body>
  <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
        Please enable it to continue.</strong>
  </noscript>
  <div id="app"></div>
  <% if (htmlWebpackPlugin.options.isProd) { %>
  <!-- 为 window 对象全局挂载 hljs 成员 -->
  <script src="https://cdn.staticfile.org/highlight.js/10.6.0/highlight.min.js"></script>
  <script src="https://cdn.staticfile.org/vue/2.6.11/vue.min.js"></script>
  <script src="https://cdn.staticfile.org/vue-router/3.2.0/vue-router.min.js"></script>
  <script src="https://cdn.staticfile.org/vuex/3.6.2/vuex.min.js"></script>
  <script src="https://cdn.staticfile.org/axios/0.21.1/axios.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/vant@2.12.7/lib/vant.min.js"></script>
  <script src="https://cdn.staticfile.org/socket.io/4.0.0/socket.io.min.js"></script>
  <script src="https://cdn.staticfile.org/dayjs/1.10.4/dayjs.min.js"></script>
  <script src="https://cdn.staticfile.org/bignumber.js/9.0.1/bignumber.min.js"></script>
  <% } %>
</body>

</html>